package com.dwj.auto.comment.dao.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dwj.auto.comment.config.mybatis.plus.CommonMapper;
import com.dwj.auto.comment.dao.entity.StuClass;
import com.dwj.auto.comment.model.req.StuClassCriteria;
import com.dwj.auto.comment.model.req.StuClassSearchCriteria;
import com.dwj.auto.comment.model.vo.StuClassSearchVo;
import com.dwj.auto.comment.model.vo.StuClassVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dwjian
 * @since 2020-01-19
 */
public interface StuClassMapper extends CommonMapper<StuClass> {

    IPage<StuClassVo> getList(IPage<StuClassVo> page, @Param("criteria") StuClassCriteria criteria);

    IPage<StuClassSearchVo> searchList(IPage<StuClassSearchVo> page, @Param("criteria") StuClassSearchCriteria criteria);
}
